

public class IndexOption{
   public IndexOption(int chapter, int section, int type, Knowledge knowledge){
      this.chapter = chapter;
      this.section = section;
      this.type = type;
      this.knowledge = knowledge;

   }
   
   int getChapter(){
      return chapter;
   }
   
   int getSection(){
      return section;
   }
   int getType(){
      return type;
   }
   Knowledge getKnowledge(){
      return knowledge;
   }

   
   void setChapter(int c){
      chapter = c;
   }
   void setSection(int s){
      section = s;
   }
   void setType(int t){
      type = t;
   }
   void setKnowledge(Knowledge k){
      knowledge = k;
   }
   

   private int chapter;
   private int section;
   private int type;
   private Knowledge knowledge;

}